﻿using AbstructFactory;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XF.Meeting.Service;
using XF.Sugar.IService;
using XF.Sugar.IService.own;

namespace XF.Meeting.ServiceFactory
{
    public class bllFactory : AbsFactoryTE
    {
        public static IUserInfoService GetUserManage(string Operator, string OperaIP)
        {
            return new UserService(Operator, OperaIP);
        }
        public static IReportService GetReportService(string Operator, string OperaIP)
        {
            return new ReportService(Operator, OperaIP);
        }
        public override IBPMService CreateBPMInterface(string Operator, string OperaIP)
        {
            return new BPMService(Operator, OperaIP);
        }


        //public static IMeetingService MeetingManage(string Operator, string OperaIP)
        //{
        //    return new MeetingService(Operator, OperaIP);
        //}

        public override ICInfo_Participants_MapService CreateCInfo_Participants_MapInterface(string Operator, string OperaIP)
        {
            throw new NotImplementedException();
        }

        public override IConferenceEquipmentService CreateConferenceEquipmentInterface(string Operator, string OperaIP)
        {
            throw new NotImplementedException();
        }

        public override IConferenceInfoService CreateConferenceInfoInterface(string UserName, string IP)
        {
            throw new NotImplementedException();
        }

        public override IConferenceRoomService CreateConferenceRoomInterface(string UserName, string IP)
        {
            return new ConferenceRoomService(UserName, IP);
        }
        public override IReportService CreateReportInterface(string UserName, string IP)
        {
            return new ReportService(UserName, IP);
        }

        public override ICRoom_CEquipment_MapService CreateCRoom_CEquipment_MapInterface(string UserName, string IP)
        {
            throw new NotImplementedException();
        }

        public override ICRoom_CInfo_MapService CreateCRoom_CInfo_MapInterface(string UserName, string IP)
        {
            throw new NotImplementedException();
        }

        public override IGroupInfoService CreateGroupInfoInterface(string UserName, string IP)
        {
            return new GroupInfoService(UserName, IP);
        }

        public override IGroup_User_MapService CreateGroup_User_MapInterface(string UserName, string IP)
        {
            throw new NotImplementedException();
        }

        public override ILog_RecordService CreateLog_RecordInterface(string UserName, string IP)
        {
            throw new NotImplementedException();
        }

        public override ISettingRegionalService CreateSettingRegionalInterface(string UserName, string IP)
        {
            throw new NotImplementedException();
        }

        public override ISettingSystemService CreateSettingSystemInterface(string UserName, string IP)
        {
            return new SettingService(UserName, IP);
        }

        public override ISettingThirdPartyService CreateSettingThirdPartyInterface(string UserName, string IP)
        {
            throw new NotImplementedException();
        }

        public override ISettingUseLicenseService CreateSettingUseLicenseInterface(string UserName, string IP)
        {
            throw new NotImplementedException();
        }

        public override IUserInfoService CreateUserInfoInterface(string UserName, string IP)
        {
            return new UserService(UserName, IP);
        }

    }
}
